package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Menu;
import com.itheima.health.pojo.Permission;

import java.util.List;

public interface PermissionService {

    //分页
    PageResult findPage(String queryString, Integer currentPage, Integer pageSize);
    //添加
    void add(Permission permission);
    //删除
    void deleteById(Integer id);
    //回显
    Permission findById(Integer id);
    //修改
    void edit(Permission permission);

}
